package com.citymanage.demo.service.person;

import com.citymanage.demo.mapper.person.PersonMapper;
import com.citymanage.demo.po.person.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PersonManageService {
    @Autowired
    private PersonMapper personMapper;
    public Person updatePerson(Integer key, String account, String phone, String password) {
        return personMapper.updatePerson(key, account,phone,password);
    }
    public void addPerson(Integer key, String account, String phone, String password) {
         personMapper.addPerson(key, account,phone,password);
    }
}
